<!-- 分类添加/修改 -->
<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Tools/AdminDownload/index')}">下载列表</a></li>
			<li class="active"><a href="{:U('Tools/AdminDownload/add')}">添加编辑下载</a></li>
		</ul>
		<form class="form-horizontal js-ajax-form" method="post" action="">
			<input type="hidden" name="download_id" value="{$download['download_id']}">
			<fieldset>
				<div class="control-group">
					<label class="control-label" for="input-catename">下载名称</label>
					<div class="controls">
						<input type="text" class="input-xlarge" id="input-catename" name="download_name" value="{$download['download_name']}">
						<span class="help-block"></span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input-catename">下载链接</label>
					<div class="controls">
						<input type="text" class="input-xlarge" id="input-catename" name="download_url" value="{$download['download_url']}">
						<span class="help-block">建议使用百度网盘（安全有保障）</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input-catename">描述</label>
					<div class="controls">
						<input type="text" class="input-xlarge" id="input-catename" name="description" value="{$download['description']}">
						<span class="help-block"></span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input-orderby">排序</label>
					<div class="controls">
						<input type="text" class="input-xlarge" id="input-orderby" name="orderby" value="{$download['orderby']}" placeholder="">
						<span class="help-block">数字越小排序越靠前</span>
					</div>
				</div>
				<div class="form-actions">
					<button type="submit" class="btn btn-primary  js-ajax-submit">保存</button>
				</div>
			</fieldset>
		</form>
	</div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>
